package com.ruoyi.activeuser.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.activeinfo.domain.ActiveInfo;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动参与人对象 active_user
 * 
 * @author hct
 * @date 2022-02-16
 */
@Data
public class ActiveUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    private String activeId;


    private ActiveInfo activeInfo;
    /** 报名人 */
    @Excel(name = "报名人")
    private String memberId;


    /** 状态 */
    @Excel(name = "状态")
    private Integer status;


    /** 报名人姓名 */
    @Excel(name = "报名人姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActiveId(String activeId) 
    {
        this.activeId = activeId;
    }

    public String getActiveId() 
    {
        return activeId;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
       public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
      public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activeId", getActiveId())
            .append("memberId", getMemberId())
             .append("status", getStatus())
             .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("name", getName())
            .append("phone", getPhone())
            .toString();
    }
}
